package cn.gmcx.lazy.izze.service;

import cn.gmcx.lazy.izze.pojo.Comments;
import cn.gmcx.lazy.izze.pojo.CommentsVo;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * <p>
 * 评论表 用户对视频的评论 服务类
 * </p>
 *
 * @author GMCX
 * @since 2024-06-14
 */
public interface ICommentsService extends IService<Comments> {




    List<CommentsVo> selectByVideoId(Integer videoId);


    Integer addComments(Comments comments, MultipartFile file);

    List<CommentsVo> selectByParentId(Integer parentId);
}
